package com.wpx.log.spring.boot.autoconfigure;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "wpx.log")
public class LogProperties {
	
	/**
	 * 	指定日志实体类名
	 */
	private String entityClass;
	
	private Map<String,List<String>> whiteList;
	
	private Map<String,List<String>> blackList;
	
	/**
	 * 是否开启debug
	 */
	private boolean debug;
	
	public String getEntityClass() {
		return entityClass;
	}

	public void setEntityClass(String entityClass) {
		this.entityClass = entityClass;
	}

	public boolean isDebug() {	
		return this.debug;
	}

	public void setDebug(boolean debug) {
		this.debug = debug;
	}

	public Map<String, List<String>> getWhiteList() {
		return whiteList;
	}

	public void setWhiteList(Map<String, List<String>> whiteList) {
		this.whiteList = whiteList;
	}

	public Map<String, List<String>> getBlackList() {
		return blackList;
	}

	public void setBlackList(Map<String, List<String>> blackList) {
		this.blackList = blackList;
	}
	
}
